A. java.io package
B. java.lang package
C. java.awt package
D. java.util package
Advertisement
Related Mcqs:
- A method within a class is only accessible by classes that are defined within the same package as the class of the method. Which one of the following is used to enforce such restriction ?
- A. Declare the method with the keyword public. B. Declare the method with the keyword private. C. Do not declare the method with any accessibility modifiers. D. Declare the method with the keyword public and private....
- Which method of java is invoked by JVM to reclaim the inaccessible memory location ?
- A. reclaim() method B. finalize() method C. final() method D. both b and c...
- Package of drawstring() method is _________________?
- A. java.awt B. javax.swing C. java.applet D. java.io...
- Java intermediate code is known as_________________?
- A. Byte code B. First code C. Mid code D. None of above...
- Size of int in Java is_________________?
- A. 8 bit B. 16 bit C. 32 bit D. 64 bit...
- Hot java is_______________?
- A. Web browser B. Java environment C. System software D. IDE...
- In Java, the word true is ___________________?
- A. A Boolean literal B. A Java keyword C. Same as value 0 D. Same as value 1...
- Automatic type conversion in Java takes place when________________?
- A. Two type are compatible and size of destination type is equal of source type. B. Two type are compatible and size of destination type is larger than source type. C. Two type are compatible and size of destination type is shorter than source type. D. All of the above...
- How many keywords are available in java ?
- A. 24 B. 48 C. 96 D. 192...
- Java is known as ___________ stage language?
- A. 1 B. 2 C. 3 D. 4...
Advertisement